home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Enter 1999 April / enter_04_1999_1.iso / narzedzia / klub 3d / 3dnow! demo / 3dnow.exe / X_FILE / 108 < prev    next >
Text File  |  1999-01-28  |  5KB  |  257 lines

  1. xof 0302txt 0064
  2. // LWS2X generated file 
  3. // (LWS2X (C)1996,1997 A.Koizuka/Bio_100%  mail:koizuka@ss.iij4u.or.jp )
  4. // http://www.ss.iij4u.or.jp/~koizuka/
  5.  
  6. template Header {
  7.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  8.  WORD major;
  9.  WORD minor;
  10.  DWORD flags;
  11. }
  12.  
  13. template Vector {
  14.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  15.  FLOAT x;
  16.  FLOAT y;
  17.  FLOAT z;
  18. }
  19.  
  20. template Coords2d {
  21.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  22.  FLOAT u;
  23.  FLOAT v;
  24. }
  25.  
  26. template Matrix4x4 {
  27.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  28.  array FLOAT matrix[16];
  29. }
  30.  
  31. template ColorRGBA {
  32.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  33.  FLOAT red;
  34.  FLOAT green;
  35.  FLOAT blue;
  36.  FLOAT alpha;
  37. }
  38.  
  39. template ColorRGB {
  40.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  41.  FLOAT red;
  42.  FLOAT green;
  43.  FLOAT blue;
  44. }
  45.  
  46. template IndexedColor {
  47.  <1630B820-7842-11cf-8F52-0040333594A3>
  48.  DWORD index;
  49.  ColorRGBA indexColor;
  50. }
  51.  
  52. template Boolean {
  53.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  54.  WORD truefalse;
  55. }
  56.  
  57. template Boolean2d {
  58.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  59.  Boolean u;
  60.  Boolean v;
  61. }
  62.  
  63. template MaterialWrap {
  64.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  65.  Boolean u;
  66.  Boolean v;
  67. }
  68.  
  69. template TextureFilename {
  70.  <A42790E1-7810-11cf-8F52-0040333594A3>
  71.  STRING filename;
  72. }
  73.  
  74. template Material {
  75.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  76.  ColorRGBA faceColor;
  77.  FLOAT power;
  78.  ColorRGB specularColor;
  79.  ColorRGB emissiveColor;
  80.  [...]
  81. }
  82.  
  83. template MeshFace {
  84.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  85.  DWORD nFaceVertexIndices;
  86.  array DWORD faceVertexIndices[nFaceVertexIndices];
  87. }
  88.  
  89. template MeshFaceWraps {
  90.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  91.  DWORD nFaceWrapValues;
  92.  Boolean2d faceWrapValues;
  93. }
  94.  
  95. template MeshTextureCoords {
  96.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  97.  DWORD nTextureCoords;
  98.  array Coords2d textureCoords[nTextureCoords];
  99. }
  100.  
  101. template MeshMaterialList {
  102.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  103.  DWORD nMaterials;
  104.  DWORD nFaceIndexes;
  105.  array DWORD faceIndexes[nFaceIndexes];
  106.  [Material]
  107. }
  108.  
  109. template MeshNormals {
  110.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  111.  DWORD nNormals;
  112.  array Vector normals[nNormals];
  113.  DWORD nFaceNormals;
  114.  array MeshFace faceNormals[nFaceNormals];
  115. }
  116.  
  117. template MeshVertexColors {
  118.  <1630B821-7842-11cf-8F52-0040333594A3>
  119.  DWORD nVertexColors;
  120.  array IndexedColor vertexColors[nVertexColors];
  121. }
  122.  
  123. template Mesh {
  124.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  125.  DWORD nVertices;
  126.  array Vector vertices[nVertices];
  127.  DWORD nFaces;
  128.  array MeshFace faces[nFaces];
  129.  [...]
  130. }
  131.  
  132. Header {
  133.  1;
  134.  0;
  135.  1;
  136. }
  137.  
  138. Material MatC4 {
  139.  1.000000;1.000000;1.000000;1.000000;;
  140.  21.333333;
  141.  0.000000;0.000000;0.000000;;
  142.  0.000000;0.000000;0.000000;;
  143.  TextureFilename {
  144.   "TEX004.bmp";
  145.  }
  146. }
  147. Mesh {
  148.  15;
  149.  0.000000;0.412385;0.412385;,
  150.  0.000000;-0.412385;0.412385;,
  151.  0.000000;-0.412385;-0.412385;,
  152.  0.000000;0.412385;-0.412385;,
  153.  0.412385;0.000000;0.412385;,
  154.  -0.412385;0.000000;0.412385;,
  155.  -0.412385;0.000000;-0.412385;,
  156.  0.412385;0.000000;-0.412385;,
  157.  0.412385;0.412385;0.000000;,
  158.  -0.412385;0.412385;0.000000;,
  159.  -0.412385;-0.412385;0.000000;,
  160.  0.412385;-0.412385;0.000000;,
  161.  -0.412385;-0.412385;0.000000;,
  162.  -0.412385;0.412385;0.000000;,
  163.  -0.412385;0.000000;0.412385;;
  164.  
  165.  20;
  166.  3;0,4,8;,
  167.  3;0,9,5;,
  168.  3;1,11,4;,
  169.  3;1,5,10;,
  170.  3;2,12,6;,
  171.  3;2,7,11;,
  172.  3;3,6,13;,
  173.  3;3,8,7;,
  174.  3;13,0,8;,
  175.  3;8,3,13;,
  176.  3;4,0,5;,
  177.  3;5,1,4;,
  178.  3;11,1,12;,
  179.  3;12,2,11;,
  180.  3;7,2,6;,
  181.  3;6,3,7;,
  182.  3;8,4,11;,
  183.  3;11,7,8;,
  184.  3;12,14,13;,
  185.  3;13,6,12;;
  186.  
  187.  MeshMaterialList {
  188.   1;
  189.   1;
  190.   0;;
  191.   {MatC4}
  192.  }
  193.  MeshNormals {
  194.   20;
  195.   0.577350;0.577350;0.577350;,
  196.   -0.577350;0.577350;0.577350;,
  197.   0.577350;-0.577350;0.577350;,
  198.   -0.577350;-0.577350;0.577350;,
  199.   -0.577350;-0.577350;-0.577350;,
  200.   0.577350;-0.577350;-0.577350;,
  201.   -0.577350;0.577350;-0.577350;,
  202.   0.577350;0.577350;-0.577350;,
  203.   0.000000;1.000000;0.000000;,
  204.   0.000000;1.000000;0.000000;,
  205.   0.000000;0.000000;1.000000;,
  206.   0.000000;0.000000;1.000000;,
  207.   0.000000;-1.000000;0.000000;,
  208.   0.000000;-1.000000;0.000000;,
  209.   0.000000;0.000000;-1.000000;,
  210.   0.000000;0.000000;-1.000000;,
  211.   1.000000;0.000000;0.000000;,
  212.   1.000000;0.000000;0.000000;,
  213.   -1.000000;0.000000;0.000000;,
  214.   -1.000000;0.000000;0.000000;;
  215.  
  216.   20;
  217.   3;0,0,0;,
  218.   3;1,1,1;,
  219.   3;2,2,2;,
  220.   3;3,3,3;,
  221.   3;4,4,4;,
  222.   3;5,5,5;,
  223.   3;6,6,6;,
  224.   3;7,7,7;,
  225.   3;8,8,8;,
  226.   3;9,9,9;,
  227.   3;10,10,10;,
  228.   3;11,11,11;,
  229.   3;12,12,12;,
  230.   3;13,13,13;,
  231.   3;14,14,14;,
  232.   3;15,15,15;,
  233.   3;16,16,16;,
  234.   3;17,17,17;,
  235.   3;18,18,18;,
  236.   3;19,19,19;;
  237.  }
  238.  MeshTextureCoords {
  239.   15;
  240.   1.000000;0.250000;
  241.   1.000000;0.750000;
  242.   0.500000;0.750000;
  243.   0.500000;0.250000;
  244.   0.875000;0.500000;
  245.   1.125000;0.500000;
  246.   0.375000;0.500000;
  247.   0.625000;0.500000;
  248.   0.750000;0.250000;
  249.   1.250000;0.250000;
  250.   1.250000;0.750000;
  251.   0.750000;0.750000;
  252.   0.250000;0.750000;
  253.   0.250000;0.250000;
  254.   0.125000;0.500000;;
  255.  }
  256. }
  257.